package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.ArticleSpecialLayout;
import com.caigou.pojo.ArticleSpecialLayoutData;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository("ArticleSpecialLayoutMapper")
public interface ArticleSpecialLayoutMapper {
    int saveArticleSpecialLayoutData(ArticleSpecialLayout layout);

    List<ArticleSpecialLayoutData> loadArticleSpecialLayoutData(@Param("articleId") String articleId);

    void deleteArticleSpecialLayout(@Param("articleId") String articleId);
}
